using System;
using System.Collections.Generic;
using System.Text;
using System.IO;

namespace BTreeSharp
{
    public abstract class Surface
    {
        public abstract void AllocateSpace(long bytes);
        public abstract void ReallocateSpace(long newsize);
        public abstract byte[] ReadBytes(long size);
        public abstract void WriteBytes(byte[] bytes);
        public abstract void Seek(long position,SeekOrigin origin);
        public abstract long Length { get;}
        public abstract long Position { get; }
    }
}
